import { createApp } from "vue";
// import "./style.css";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
// svg 插件导入
import "virtual:svg-icons-register";
import globalComp from "@/components/index.ts";
// 引入全局样式
import "@/styles/index.scss";

// 引入路由
import router from "@/router";
// 引入仓库
import store from "@/store";

const app = createApp(App);
app.use(ElementPlus, { size: "small" });
app.use(globalComp);
// 注册路由
app.use(router);
// 注册仓库
app.use(store);

app.mount("#app");
